package com.bawei.module_video_hall.http


import com.bawei.lib_common.entity.ResponseEntity
import com.bawei.module_video_hall.mvi.model.MultiTypeModelItem
import com.bawei.module_video_hall.mvi.model.RecommendVideoModelItem
import retrofit2.http.GET
import retrofit2.http.Query

/**
 *@author：lxy
 *@decription:
 *@time：2025/6/23
 */
interface VideoHallApi {

    @GET("/videotype/getMutilType")
    suspend fun getMultiType(): ResponseEntity<List<MultiTypeModelItem>>

    @GET("/videomulti/getRecommendMutilVideo")
    suspend fun getRecommendVideo(
        @Query("page") page: Int,
        @Query("pagesize") pagesize: Int
    ): ResponseEntity<List<RecommendVideoModelItem>>

    @GET("/videomulti/getMutilVideoByTypeId")
    suspend fun getMultiVideoByTypeId(
        @Query("page") page: Int,
        @Query("pagesize") pagesize: Int,
        @Query("typeid") typeid: Int
    ): ResponseEntity<List<RecommendVideoModelItem>>
}